Optimal. Leaf size=13 \[ x^m \left (a+b x^n\right )^p \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.032, Rules used = {460}
\begin {gather*} x^m \left (a+b x^n\right )^p \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 460
Rubi steps
\begin {align*} \int x^{-1+m} \left (a+b x^n\right )^{-1+p} \left (a m+b (m+n p) x^n\right ) \, dx &=x^m \left (a+b x^n\right )^p\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.14, size = 13, normalized size = 1.00 \begin {gather*} x^m \left (a+b x^n\right )^p \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.08, size = 0, normalized size = 0.00 \[\int x^{-1+m} \left (a +b \,x^{n}\right )^{-1+p} \left (a m +b \left (n p +m \right ) x^{n}\right )\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.42, size = 16, normalized size = 1.23 \begin {gather*} e^{\left (p \log \left (b x^{n} + a\right ) + m \log \left (x\right )\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 32 vs.
\(2 (13) = 26\).
time = 1.38, size = 32, normalized size = 2.46 \begin {gather*} {\left (b x x^{m - 1} x^{n} + a x x^{m - 1}\right )} {\left (b x^{n} + a\right )}^{p - 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 70 vs.
\(2 (13) = 26\).
time = 0.57, size = 70, normalized size = 5.38 \begin {gather*} b x x^{n} e^{\left (p \log \left (b x^{n} + a\right ) + m \log \left (x\right ) - \log \left (b x^{n} + a\right ) - \log \left (x\right )\right )} + a x e^{\left (p \log \left (b x^{n} + a\right ) + m \log \left (x\right ) - \log \left (b x^{n} + a\right ) - \log \left (x\right )\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.81, size = 25, normalized size = 1.92 \begin {gather*} \left (a\,x^m+b\,x^{m+n}\right )\,{\left (a+b\,x^n\right )}^{p-1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________